package com.itheima.activiti.service.system;

import com.itheima.activiti.dto.system.LoginDTO;
import com.itheima.activiti.dto.system.OrgUserTreeDTO;
import com.itheima.activiti.dto.system.UserDTO;

import java.util.List;

public interface UserService {

    LoginDTO login(String username, String password);

    List<UserDTO> list();

    String getSuperior(String assignee);

    String getManager(String assignee);

    List<String> getUserRoles(String userId);

    List<OrgUserTreeDTO> tree();

    com.itheima.activiti.dto.system.UserDTO getById(String userId);

}
